<template>
	<navigator class="goods-item">
		<u-image class="u-skeleton-fillet" width="100%" height="300rpx" :src="item.cover_url">
		</u-image>
		<view class="title u-skeleton-rect">
			{{item.title}}
		</view>
		<view>
			<text>{{item.price}}</text>
			<text>{{item.sales}}</text>
		</view>
	</navigator>
</template>

<script>
	export default {
		name: "goods-card",
		props: {
			item: {
				type: Object,
				default () {
					return {}
				}
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.goods-item {
		padding: 40rpx;

		.title {
			margin-top: 20rpx;
			font-weight: 500;
			font-size: 32rpx;
			// color: ;
		}
	}
</style>
